const Router = require("koa-router");
const router = new Router();
const fileController = require/("./controller/file");
const userController = require("./controller/user");

// 文件增
// router.post("/file/add",fileController.addFileController);
// sql增
router.post("/user/add",userController.addUserController);
// sql删
router.delete("/user/delete",userController.deleteUserController);
// sql改
router.post("/user/update",userController.updateUserController);
// sql查
router.get("/user/select",userController.selectUserController);



module.exports=router;